package com.wms.data.dao.impl;

import org.springframework.stereotype.Repository;

import com.wms.data.dao.OrdersDao;
import com.wms.data.pojo.Orders;

// ~ File Information
// ====================================================================================================================

@Repository
public class OrdersDaoImpl extends AbstractWMSDao<Orders> implements OrdersDao {

	// ~ Static Fields
	// ==================================================================================================================

	// ~ Fields
	// ==================================================================================================================

	// ~ Constructors
	// ==================================================================================================================

	// ~ Methods
	// ==================================================================================================================

	@Override
	protected String getActualTableName() {

		return "orders";
	}

	@Override
	protected String[] getActualTableColumns() {

		return new String[] { 
				"code", "body", "status", "member", 
				"ctime", "paymode", "invoicetitle", "discount", 
				"actamount", "paid", "staddress", "logistemp", 
				"logistics", "waybill", "fare", "weight", 
				"paytime", "confirmtime", "mremarks", "retype", 
				"relogistics", "rewaybill", "rereason", "reremarks", 
				"staddrvalue", 
				"remarks", "create_date", "create_by", "update_date", "update_by" 
		};
	}
}
